package com.mmall.common;

/**
 * @Author Jormin
 * @Date 2017/5/11.
 */
public class Const {
    public static final String CURRENT_USER="currentUser";
    public static final String EMAIL="email";
    public static final String USERNAME = "username";

    public interface Role{
        int ROLE_CUSTOMER=0;//普通用户
        int ROLE_ADMIN=1;//管理员
    }

    public static final String[] noLoggingFilter = new String[] {
            "login.do",
            "logout.do",
            "register.do",
            "check_valid.do",
            "forget_get_question.do",
            "forget_reset_password.do",
            "forget_check_answer.do",
            "forget_reset_password.do",
    };
}
